﻿using System.Windows.Media;
using System.Windows.Media.Media3D;

namespace LFSRecord2.View.ThreeD
{
    public class LfsMeshObject
    {
        public Point3D Center { get; set; }
        public int Radius { get; set; }
        public int NumPoints { get; set; }
        public int NumTris { get; set; }

        public Color ObjectColor { get; private set; }
        public Point3D[] Points { get; private set; }
        public int[] Tris { get; private set; }

        public LfsMeshObject(Point3D center, int radius, int numPoints, int numTris)
        {
            Center = center;
            Radius = radius;
            NumPoints = numPoints;
            NumTris = numTris;

            Points = new Point3D[NumPoints];
            Tris = new int[NumTris];
        }

        public void setObjectColor(Color col)
        {
            ObjectColor = col;
        }
    }
}
